package com.voice.call.common;

import org.springframework.http.MediaType;

public interface Const {
	
	String Y = "y";
	String N = "n";
	String SUCCESS="success";
	String FAIL="fail";
	String OK="ok";
	
	String UTF8 = "utf-8";
	String JSON_UTF8 = MediaType.APPLICATION_JSON_VALUE+";charset="+UTF8;
	String XML_UTF8 = MediaType.APPLICATION_XML_VALUE+";charset="+UTF8;
	
	//短信
	String SMS_LIMIT="sms_limit";//短信限制数量
	String SMS_VALID="sms_valid";//短信有效期
	String SMS_VERIFY_COUNT="sms_verify_count";//短信最大可输入验证次数
	String SMS_SENDING = "sending";//短信正在发送中
	
	//默认语言
	String LANGUAGE = "en";
	
	//vos
	String VOS_URL = "vos_url";
	String VOS_ACCOUNT = "vos_account";
	String VOS_BILL_ACCOUNT = "vos_bill_account";
	String VOS_PHONE_PREFIX = "vos_phone_prefix";
	String VOS_DEFAULT = "default";
	
	//新闻
	String NEWS_URL = "news_url";
	String NEWS_APP_KEY = "news_app_key";
	
	//阿里云短信模板
	String SMS_TYPE_LOGIN = "Login"; //登录短信
	String SMS_TYPE_BIND_PHONE ="bind_phone"; //登录确认验证码
	String ALI_SMS_CHINA_TEMPLATE = "SMS_143862827";//国内短信统一模版
	String ALI_SMS_INTERNATIONAL_TEMPLATE="SMS_143718007";// 国际短信统一模版
	String ALI_SMS_WELCOME_TEMPLATE = "SMS_145597977"; //国际欢迎注册模版
	String ALI_SMS_WELCOME_CHINA_TEMPLATE ="SMS_145592981"; //国内欢迎注册模版
	
	
	//全局类别
	String GLOBAL_CATEGORY = "global";//静态配置
	String GLOBAL_PERSON_CENTER = "person_center";//个人中心功能
	String GLOBAL_SYSTEM_CATEGORY = "system";//系统配置
	String GLOBAL_QUESTION_CATEGORY = "question";//常见问题
	String GLOBAL_SHARE_CATEGORY = "share"; //分享
	
	
	//系统配置
	String SYSTEM_AUTO_LOGIN = "auto_login";
	String SYSTEM_CHECKIN_WAY = "checkin_way";
	String SYSTEM_INVITE_LIMIT="invite_extra_limit";
	String SYSTEM_INTEGRAL_LIMIT="integral_limit";//最大积分限制
	String SYSTEM_VIDEO_INTEGRAL_LIMIT ="video_integral_limit";//视频最大积分限制
	
	String SYSTEM_SHARE_TITLE = "share_title";
	String SYSTEM_SHARE_CONTENT = "share_content";
	String SYSTEM_SHARE_LINK = "share_link";
	String SYSTEM_SHARE_IMAGE = "share_image";
	
	//任务类别
	String TASK_CHECK_IN = "check-in"; //签到
	String TASK_LUCKY_CREDIT = "lucky_credit";//老虎机
	String TASK_INVITE = "invite"; //邀请
	String TASK_INVITE_EXTRA = "invite_extra"; //额外邀请
	String TASK_BIND_PHONE = "bind_phone";//绑定手机
	String TASK_VIDEO = "video"; //频视
	String TASK_NEWS_ADVERT = "news"; //新闻广告
	String TASK_WALL = "wall"; //新闻广告
	String TASK_LEVEL = "level";//用户等级
	
	//全局配置数据类型
	String GLOBAL_STRING_DATA_TYPE = "string";
	String GLOBAL_INT_DATA_TYPE = "int";
	String GLOBAL_ARRAY_DATA_TYPE = "array";
	String GLOBAL_JSON_OBJECT_DATA_TYPE = "json-object";
	String GLOBAL_JSON_ARRAY_DATA_TYPE = "json-array";
	
	//lucky credit 一天限制玩的次数
	String LUCKY_CREDIT_LIMIT= "lucky_credit_limit";
	
	//上传配置
	String UPLOAD_HTTP ="upload_http";
	String UPLOAD_SAVE_PATH ="upload_save_path";
	

	String SUPPORT_CATEGORY_IS_REGISTER = "is_register"; //是否支持注册类别
	String SUPPORT_CATEGORY_FIRST_REGISTER= "first_register"; //首次赠送积分类别
	String SUPPORT_CATEGORY_VIDEO="video";//视频积分类别
	String SUPPORT_CATEGORY_NEWS="news"; //新闻积分类别
	String SUPPORT_CATEGORY_BIND_PHONE="bind_phone"; //绑定手机积分类别
	String SUPPORT_CATEGORY_INVITE="invite"; //邀请好友积分类别
	String SUPPORT_CATEGORY_ISOCODE = "9999";
}
